/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx;

/**
 * <p>Project: javase2203 - UserDemo
 * <p>Powered by webrx On 2022-08-10 17:46:22
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */
public class UserDemo {
    public static void main(String[] args) {
        //因为User类添加了@Builder注解
        User user = User.builder().score(88).name("李四").id(100).build();
        System.out.println(user);

        User ls = new User(200,"李四",98);
        System.out.println(ls);

        User wu = new User();
        wu.setId(300);
        wu.setName("赵强");
        wu.setScore(60);

        System.out.println(wu);

    }
}
